import React, { useState } from 'react'
import Gege from "./components/Gege"
import Didi from "./components/Didi"


export default function App() {
  const [car, setCar] = useState("宝马")
  return (
    <div>
      <Gege car={car} setCar={setCar} />
      <hr />
      <Didi car={car}/>
      <hr />
    </div>
  )
}

